package com.ding.entity;

import java.io.Serializable;
import java.util.Date;

//学生对象   实体类
public class Student implements Serializable {

    private static final long serialVersionUID = -7237743656685588200L;
    //学生id
    private int id;
    //学生姓名
    private String userName;
    //头像
    private String imgPath;
    //班级id
    private int classId;
    //班级名称
    private String className;
    //性别
    private String sex;
    //手机号
    private String phone;
    //生日
    private String birthday;
    //年龄
    private int age;
    //家庭住址
    private String address;
    //0:可用 1:删除
    private String state;

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getImgPath() {
        return imgPath;
    }

    public void setImgPath(String imgPath) {
        this.imgPath = imgPath;
    }

    public int getClassId() {
        return classId;
    }

    public void setClassId(int classId) {
        this.classId = classId;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", userName='" + userName + '\'' +
                ", imgPath='" + imgPath + '\'' +
                ", classId=" + classId +
                ", className='" + className + '\'' +
                ", sex='" + sex + '\'' +
                ", phone='" + phone + '\'' +
                ", birthday='" + birthday + '\'' +
                ", age=" + age +
                ", address='" + address + '\'' +
                ", state='" + state + '\'' +
                '}';
    }
}
